 
package com.xbongbong.sys.domain.entity;

import com.xbongbong.paas.enums.DelEnum;
import com.xbongbong.paas.toolbox.wrap.Entity;
import lombok.ToString;

/**
* @author autoGen
* @time 2018-08-13 10:46:07
*/
@ToString
public class UserConfigEntity extends Entity {

	/** Comment for <code>serialVersionUID</code> */
	private static final long serialVersionUID = 5283023461618758755L;

	//========== properties ==========
	
	/**
	* 主键
	*/
	private Long id;
	/**
	* 公司id
	*/
	private String corpid;
	/**
	* 用户id
	*/
	private String userId;
	/**
	* 配置名，用于显示
	*/
	private String configName;
	/**
	* 配置别名 key，英文
	*/
	private String configAlias;
	/**
	 * 配置值
	 */
	private String configValue;
	/**
	* 创建时间时间戳
	*/
	private Long addTime;
	/**
	* 更新时间时间戳
	*/
	private Long updateTime;
	/**
	* 删除标记
	*/
	private Integer del;

	public UserConfigEntity(){
		del = DelEnum.NORMAL.getDel();
	}

	public UserConfigEntity(String corpid, String userId, String configName, String configAlias, String configValue) {
		this.corpid = corpid;
		this.userId = userId;
		this.configName = configName;
		this.configAlias = configAlias;
		this.configValue = configValue;
		this.del = DelEnum.NORMAL.getDel();
	}

	//========== getters and setters ==========


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCorpid() {
		return corpid;
	}
	
	public void setCorpid(String corpid) {
		this.corpid = corpid;
	}
	public String getUserId() {
		return userId;
	}
	
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getConfigName() {
		return configName;
	}
	
	public void setConfigName(String configName) {
		this.configName = configName;
	}
	public String getConfigAlias() {
		return configAlias;
	}
	
	public void setConfigAlias(String configAlias) {
		this.configAlias = configAlias;
	}

	public String getConfigValue() {
		return configValue;
	}

	public void setConfigValue(String configValue) {
		this.configValue = configValue;
	}

	public Long getAddTime() {
		return addTime;
	}
	
	public void setAddTime(Long addTime) {
		this.addTime = addTime;
	}
	public Long getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}
	public Integer getDel() {
		return del;
	}
	
	public void setDel(Integer del) {
		this.del = del;
	}
}

